package com.example.mapper;

import com.example.pojo.Receipts;
import com.example.vo.SaleStateMentVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface ReceiptsMapper extends Mapper<Receipts> {
    List<SaleStateMentVo> pageSaleStateMent(String startTime,String endTime,@Param("oid") Integer oid);
    List<Receipts> selectBy(Integer status, Integer typeid, String startTime, String endTime);
    List<Receipts> selectByStock(Integer status, Integer typeid, String startTime, String endTime, String rno);
    Receipts selectRidByRno(@Param("rno") String rno);
}
